package org.millioncall.yueyoga.admin.service.impl;

import java.util.List;

import org.millioncall.yueyoga.admin.dao.OrderTypeDAO;
import org.millioncall.yueyoga.admin.model.OrderType;
import org.millioncall.yueyoga.admin.service.OrderTypeService;

public class OrderTypeServiceImpl implements OrderTypeService {
	
	private OrderTypeDAO orderTypeDAO;

	public OrderTypeDAO getOrderTypeDAO() {
		return orderTypeDAO;
	}

	public void setOrderTypeDAO(OrderTypeDAO orderTypeDAO) {
		this.orderTypeDAO = orderTypeDAO;
	}

	@Override
	public List<OrderType> findAllAvailable() {
		return this.orderTypeDAO.findAllAvailable();
	}

}
